# $Id: PKGBUILD 178507 2013-02-24 19:41:09Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>

pkgname=monodevelop-debugger-gdb
pkgver=4.0
pkgrel=1
pkgdesc="Mono Debugger support"
arch=('i686' 'x86_64') # also "any" pkg?
url="http://monodevelop.com"
license=('GPL')
depends=('monodevelop>=3.0.6' 'gdb')
makedepends=('mono')
options=('!makeflags')
source=(http://download.mono-project.com/sources/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('35424c9cb2218840c015f49821219c5b')

build() {
  export MONO_SHARED_DIR="${srcdir}/.wabi"
  mkdir -p "${MONO_SHARED_DIR}"
  
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}

